<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/mytag.jspf"%>

<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<title>系统配置</title>
<script type="text/javascript">
	$("#grid").jqGrid({
		pager:"#pager",
		url:"management/sysconfig/page",
		datatype: "json",  //请求的数据类型
	   	colNames:["配置项","配置项说明","值","值说明","操作"],
	   	colModel:[
	   		{name:"item",width:200},
	   		{name:"itemDesc",width:200},
	   		{name:"val1"},
	   		{name:"val1Desc",width:200},
	   		{name:"ctrl",width:200,formatter:function(cellvalue, options, row){
	   			var btns = "<div class='am-btn-group am-btn-group-xs'>";
	   			btns+="<a href='management/sysconfig/edit/"+row.sysConfigId+"' class='am-btn am-btn-default' title='修改'><span class='am-icon-edit'></span> 修改</a>";
	   			btns+="</div>";
	   			return btns;
	   		}},
	   	]
	});
</script>
</head>

<body>
	<ol class="am-breadcrumb am-breadcrumb-slash am-padding" style="margin-bottom: 0px;">
		<li><a href="management/index">首页</a></li>
		<li class="am-active">系统配置</li>
	</ol>
	<div class="am-g am-padding-vertical">
		<div class="am-u-md-12"><table id="grid"></table><div id="pager"></div></div>
	</div>
</body>
</html>
